<template>
  <div>父组件
    <indexxx>
        <p>啧啧啧{{aa}}</p>
        <button @click="add"></button>
    </indexxx>
  </div>

</template>

<script>
import indexxx from "./indexxx.vue";
export default {
    components:{
        indexxx
    },
    props:[{aa:Number}],
    methods:{
        add(){
            this.aa.$item('aaa',this.aa+1)
        }
    }
}
</script>

<style>

</style>